package cn.lijiajia3515.cairo.mongo.data;


import cn.lijiajia3515.cairo.domain.CairoAccount;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;

import java.time.LocalDateTime;

/**
 * 更新对象
 */
@Data
@Accessors(chain = true)

@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class UserLastModifiedMongo {

	@LastModifiedBy
	private CairoAccount account;

	@LastModifiedDate
	private LocalDateTime at;
}
